package com.example.easybuy.service;

import com.example.easybuy.pojo.ResponseMessage;

import java.util.Map;

public interface AlipayPaymentService {

    /*
    拉起支付宝支付
     */
    public ResponseMessage alipayPayment(String subject, String total_amount);

    /*
    支付成功存到数据库
     */
    public ResponseMessage alipayNotiry(Map map);

    /*
    生成随机数
     */
    public String random();

}
